package pers.zb.cloud.gateway.handler.routeconfig;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.netflix.zuul.filters.ZuulProperties;
import org.springframework.stereotype.Component;

import java.util.LinkedHashMap;
import java.util.Map;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "zuul")
public class RouteProperties {
    private Map<String, ZuulProperties.ZuulRoute> routes = new LinkedHashMap();
}